//
//  ShopCartProductCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/23.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonShopCartModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, ShopCartProductCellType) {
    //选中
    ShopCartProductCellType_sel =0,
    //减少
    ShopCartProductCellType_cut =1,
    //增加
    ShopCartProductCellType_add =2
};

@interface ShopCartProductCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIButton *selBtn;

@property (weak, nonatomic) IBOutlet UIImageView *mainImageView;

@property (weak, nonatomic) IBOutlet UILabel *mainTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *skuLab;


@property (weak, nonatomic) IBOutlet UILabel *priceLab;

@property (weak, nonatomic) IBOutlet UITextField *countTF;

@property (nonatomic, copy) void(^ShopCartProductCellBlock )(ShopCartProductCellType type);

@property (nonatomic, copy) void(^textFieldShouldEndEditingBlock )(UITextField *textField);


- (void)fillCellWithModel:(CommonShopCartModel *)model;

@end

NS_ASSUME_NONNULL_END
